import request from '@/utils/request'

/**
 * 救援队列表
 */
 export const allList = (params, page, size) => {
    return request({
      url: `/opermgt/rescueTeam/search/${page}/${size}`,
      method: 'GET',
      data: params
    })
}
/**
 * 救援队列表
 */
 export const ListId = (id) => {
    return request({
      url: `/opermgt/rescueTeam/${id.id}`,
      method: 'GET',
    })
}
/**
 * 救援队保存
 */
 export const ListSave = (data) => {
    return request({
      url: '/opermgt/rescueTeam',
      method: 'POST',
      data: data
    })
}
/**
 * 救援队搜索
 */
 export const ListSearch = (data) => {
    return request({
      url: '/opermgt/rescueTeam/search',
      method: 'POST',
      data: data
    })
}
/**
 * 救援队删除
 */
 export const ListDelet = (id) => {
    return request({
      url: `/opermgt/rescueTeam/${id}`,
      method: 'DELETE'
    })
}
